package com.eastmelon.blog.dao;

import java.io.Serializable;
import java.util.List;

import com.eastmelon.basic.model.Pager;
import com.eastmelon.blog.entity.Article;
import com.eastmelon.blog.vo.DateCount;

public interface ArticleDao extends BaseDao<Article>{
	public String getOldImage(Serializable id);
	public List<String> findOldImages(Serializable[] ids);
	public List<Article> findAll();
	public List<DateCount> findDateCount();
	public Pager<Article> findByCategory(Serializable id);
	public Pager<Article> findByTags(Serializable id);
	public Pager<Article> findByDateCategory(String dateCategory);
	public Article getLastItem();
	public Article getPreItem(Serializable id);
	public Article getNextItem(Serializable id);
}
